<%@page import="Model.Purchase.PurchaseOfferList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
 PurchaseOfferList pol = new PurchaseOfferList(pageContext);
 pol.request();
 pol.select("count(*) as num").where("purchaseid="+pol.get("project")+"").get_first_rows();
 pol.write("num");
%>